// arco-ui
.arco-tag+.arco-tag{
	margin-left: 5px;
}
.arco-tabs {
	&-tab{
		padding: 4px 10px !important;
		.tabs-icon{
			display: flex;
			align-items: center;
			i{
				margin: 1px 2px 0 0;
			}
		}
	}
}
.edit-fields {
	&-normal {
		height: 30px;
		line-height: 30px;
		&.arco-input-wrapper,
		&.arco-select-wrapper {
			background: none;
			padding: 0;
			box-shadow: inherit;
			min-height: 30px;
			svg {
				display: none;
			}
			&:hover {
				box-shadow: inherit;
			}
			&.is-focused {
				box-shadow: initial;
			}
		}
		&.arco-input-disabled {
			background-color: initial !important;
			box-shadow: initial !important;
			padding: 0;
			input{
				-webkit-text-fill-color: #333 !important;
				font-weight: bold;
			}
			&:hover {
				cursor: initial;
			}
		}
	}
	&-focus {
		height: 30px;
		line-height: 30px;
		&.arco-select-wrapper {
			min-height: 30px;
		}
	}
}

// trigger样式
.trigger-style{
	padding: 10px;
    min-width: 120px;
    background-color: var(--color-bg-popup);
    border-radius: 4px;
    box-shadow: 0 2px 8px #00000026;
	gap: 5px !important;
	display: flex;
	flex-direction: column;
	text-align: center;
	.flex{
		display: flex;
		flex-direction: column;
		row-gap: 5px;
		&>div{
			display: flex;
			flex-direction: column;
		}
	}
	.text{
		&:hover{
			background: #eee;
		}
	}
}
.arco-modal {
	.arco-modal-body {
		max-height: 600px;
		overflow-y: auto;
	}
}

.arco-btn{
	padding: 0 12px !important;
	font-size: 13px !important;
	&.padding0{
		padding: 0 !important;
	}
	&+.arco-btn{
		//margin-left: 15px;
	}
	&.info{
		color: #999 !important;
	}
	&.hover{
		&:hover{
			background-color: initial !important;
		}
	}
}


.arco-trigger{
	&-popup,
	&-arrow{
		z-index: 9999 !important;
	}
}
.swal2-container{
	z-index: 9999 !important;
	.swal2-popup{
		width: 420px !important;
		padding-bottom: 10px !important;
		.swal2-icon{
			display: none !important;
		}
		.swal2-html-container{
			font-size: 15px;
		}
		.swal2-title{
			text-align: left !important;
			font-size: 14px !important;
		}
		.swal2-actions{
			margin-top: 12px !important;
			button{
				padding: 8px 10px !important;
				font-size: 13px !important;
				&:focus-visible{
					box-shadow: initial !important;
				}
				&.swal2-confirm{
					background-color: var(--blue) !important;
				}
				&.swal2-cancel{
					background: #999;
				}
			}
		}
	}
}
.arco-image-preview{
	&-img-container{
		img{
			max-width: 92% !important;
		}
	}
	&-toolbar{
		box-shadow: 0 3px 14px 2px #00000040;
	}
}
.arco-skeleton{
	.arco-skeleton-line{
		&:not(:first-child){
			.arco-skeleton-line-row{
					margin-top: 10px !important;
			}
		}
	}
}
.arco-form{
	&-item{
		// align-items: center !important;
		&:last-child{
			margin-bottom: 0;
		}
	}
}
.arco-tree{
	.arco-tree-node-title{
		font-size: 13px !important;
		color: #4E5969 !important;
	}
}
.arco-table{
	&-cell{
		// padding: 8px !important;
		padding: 2px 16px !important;
	}
	&-th {
		background: #fff !important;
		font-size: 12px !important;
		color: #999 !important;
		height: 32px;
	}
	&-td {
		font-size: 12px !important;
		color: #4E5969 !important;
		cursor: pointer;
		// border-radius: 4px;
		&:hover {
			color: #4E5969 !important;
			box-shadow: gray 0 0 0 1px inset;
    		background-color: #f9fcff;
			border-radius: 4px;
		}
		.arco-input{
			color: #4E5969 !important;
		}
	}
	&-container{
		overflow: hidden;
	}
}

// editorjs
.edit{
	box-shadow: initial !important;
	background-color: transparent !important;
	.codex-editor{
		.codex-editor__redactor{
			padding-bottom: 0 !important;
		}
		.ce-block__content{
			margin: 0;
			padding-left: 50px;
			max-width: 100vw;
		}
		.ce-toolbar__plus{
			display: none;
		}
		.image-tool__caption{
			opacity: 0;
			height: 0;
			padding: 0;
		}
	}
}

.common-dropdown{
	.arco-dropdown{
		padding: 6px;
		.upload{
			padding: 0 12px;
			height: 37px;
			&:hover{
				background: rgb(242,243,245);
				border-radius: 1px;
			}
			i{
				font-size: 13px !important;
				margin-right: 5px;
			}
		}
		&-option{
			display: flex;
			align-items: center;
			&.red{
				i,
				.arco-dropdown-option-content{
					color: red;
				}
			}
			&-icon{
				margin-right: 5px;
				i{
					margin-top: 1px;
					font-size: 13px !important;
				}
			}
		}
		&-option-content{
			font-size: 13px;
			color: #555;
		}
	}
}
